
package com.example.demo.repository;

import org.springframework.data.jpa.repository.JpaRepository;

import com.example.demo.entity.*;

public interface UserRepository extends JpaRepository<User, Long> {
    User findByName(String name);
}